import { App, nextTick } from "vue";
export let focus = (app: App) => {
    app.directive('focus', {
        beforeMount(el:HTMLElement) {
            nextTick(()=>{
                el.focus()
            })

        },
    })

}